#ifndef COMMON_CROW_HELPER_H
#define COMMON_CROW_HELPER_H

#include <crow.h>

#include "common/more/uuid.h"

namespace Common
{

Uuids::Uuid currentSessionUuid(const crow::request& request);
void setSessionUuid(crow::response& response, const Uuids::Uuid& uuid);

crow::response redirect(const std::string& path);

crow::response movedPermanently(const std::string& path);

} // namespace Common

#endif // COMMON_CROW_HELPER_H
